<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SysUser extends Model
{
	protected $table = 'sys_user';
	protected $primaryKey = 'id';
	
	public function agent()
	{
		return $this->belongsTo(Agent::class,'company_id');
	}
}